package com.anycl.customer.service;

import com.anycl.customer.entity.Customer;
import com.anycl.customer.exception.CustomerException;
import com.anycl.customer.vo.CustomerResponse;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface CustomerService {
    CustomerResponse createCustomer(Customer customer, HttpSession session) throws CustomerException;
    CustomerResponse removeCustomer(String id, HttpSession session) throws CustomerException;
    CustomerResponse updateCustomer(Customer customer, HttpSession session) throws CustomerException;
    Customer getCustomer(String id, HttpSession session) throws CustomerException;
    List<Customer> getCustomerList(HttpSession session) throws CustomerException;
}
